package com.zh.business.vo.web;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * 描述: 绑定角色菜单类
 *
 * @author: yanglin
 * @Date: 2021-08-09-13:11
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AuthMenuVo {

    public Integer userId;

    public List<Integer> roleIds = new ArrayList<>();

    public List<Integer> pIds = new ArrayList<>();

    @Builder
    public AuthMenuVo(Integer userId, List<Integer> roleIds, List<Integer> pIds) {
        this.userId = userId;
        this.roleIds = roleIds;
        this.pIds = pIds;
    }
}
